package com.xsh.gls.mapper;

import com.xsh.gls.pojo.Type_Functional;
import org.apache.ibatis.annotations.Param;

import java.math.BigDecimal;
import java.util.List;

public interface Type_FunctionalMapper {
    int deleteByPrimaryKey(BigDecimal id);

    int insert(Type_Functional record);

    int insertSelective(Type_Functional record);

    Type_Functional selectByPrimaryKey(BigDecimal id);

    int updateByPrimaryKeySelective(Type_Functional record);

    int updateByPrimaryKey(Type_Functional record);

    List<Type_Functional> selectFunctionByTypeId(Integer typeId);
    int delByTypeId(Integer typeId);
    int insertRole(@Param("typeId") Integer typeId,@Param("functionalId") int functionalId);
}